//
//  File.swift
//  
//
//  Created by Flutter on 2021/7/9.
//

import Foundation

public struct AnyReachabilityObserver {
    private(set) weak var observable: ReachabilityObservable?

    public init(observer: ReachabilityObservable) {
        observable = observer
    }
}

extension AnyReachabilityObserver {
    var isRemovable: Bool { observable == nil }
}

